import http from "../../utils/http"

const supplierGrade = {
    // 获取供应商列表
    getSupplierList: (data) => http.get('/supplier_level/list', data),
    // 新增供应商
    addSupplier: (data) => http.post('/supplier_level/add', data),
    // 编辑供应商
    editSupplier: (data) => http.put('/supplier_level/edit', data),
    // 删除或批量删除供应商
    deleteSupplier: (data) => http.delete('/supplier_level/delete', data),
}

export default supplierGrade;